import request from './request.js';
let service = request.service;
let formatterUrl = request.formatterUrl;
export default {
  /**铁屑任务列表*/
  ironTaskList(data) {
    return service({
      url: `/adscm/operation/plan/ironRecord/select`,
      method: 'post',
      data
    })
  },
  /**铁屑任务新增-insert 修改-update*/
  insertUpdateIronTask(insert,data) {
    return service({
      url: `/adscm/operation/plan/ironRecord/${insert}`,
      method: 'post',
      data
    })
  },
  /**铁屑任务删除*/
  deleteIronTask(id) {
    return service({
      url: `/adscm/operation/plan/ironRecord/deleteById/${id}`,
      method: 'post'
    })
  },

}